@charset "utf-8";
/*slide---------------*/
//game dialog
.mod_game_dialog {
  padding: 1em 2em;
  .mod_scroll_in {
    overflow-y: auto;
    height: 100%;
  }
  .title {
    color: $red;
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 0.8em;
  }
  &.white_dialog {
    color: #000;
  }
  width: 100%;
  height: 100%;
  background-color: #fff;
  overflow: hidden;
  position: absolute;
  z-index: $zindex-modal;
  left:0;
  top:0;
  .shut {
    @include border-radius(80px);
    @include background-clip(padding-box);
    background-color: $yellowNormal;
    position: absolute;
    right: -40px;
    top: -40px;
    display: block;
    width: 80px;
    height: 80px;
    overflow: hidden;
    font-style: normal;
    line-height: 60px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index:1001;
    .in {
      position: relative;
      top: 25px;
      left: 15px;
      font-size: 20px;
    }
  }
}
.mod_game_detail {
  padding: 0 !important;
  .stitle {
    font-size: 16px;
    color: $mainColor;
    height: 45px;
    line-height: 45px;
    text-align: center;
  }
  .dialog_list {
    padding: 0 1.5em;
    dt {
      color: #000;
      line-height: 32px;
    }
    dd {
      color: #666;
      line-height: 18px;
    }
  }
  .shut-circle {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    overflow: hidden;
  }
}
.mod_game_dialog{
  background: #ccf7ff;
  background-size: 100%  auto;
  overflow-x: hidden;
}
.mod_game_detail .dialog_list{
  color:#fff;
  dt{
    padding: 3rem 0 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color:#fff;
  }
  dd{
    color:#fff;
  }
}
.game-box{
  padding: 0 rem(40, 12);
}
.line_white_parent{
  background-color: #fff;
  padding: 5px;
  @include border-radius(5px);
  position: absolute;
  top:per2(150,$winH);
  width: 73%;
  .in{
    height:1px;
    background-color: #f84056;
    display: block;
    position: relative;
    line-height: 0;
  }
  .tag{
    position: absolute;
    @include bgAll("tag.png",18,32);
    top:-0.8rem;
    left:0rem;
  }
  .text{
    color:#fff;
    position: absolute;
    top:-3rem;
  }
}
.game_area_parent{
  width: 100%;
  position: absolute;
  top:30%;
}
.game_area{
  width: 19.8rem;
  height: 19.8rem;
  background:#fff;
  margin:0 auto;
  .area_in{
    width: 100%;
    height: 100%;
    @include clearfix;
    border:1px solid #fff;
    li{
      width: 33.33%;
      float: left;
    }
    .flagment{
      width:6.6rem;
      height: 6.6rem;
    }
    img{
      max-width: 100%;
    }
  }
  .area_in .full{
    width: 100%;
    height: 100%;
  }
}
.flagment{
  width:6.6rem;
  height: 6.6rem;
  &.dragover{
    @include opacity(0.3);
  }
}
.btn-bec{
  @include bgAll("bec.png",269,75);
  margin: 0 auto;
}
.mod_bec_btn{
  position: absolute;
  left:0;
  bottom:10%;
}
.mod_game_bg{
  width: 100%;
  height: 100%;
  background-color: rgba(#000, 0.8);
  position: fixed;
}
.game_end,.game_ok{
  @include bgAll("end.png",306,252);
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.game_ok{
  @include bgAll("prizeok.png",306 * 1.5,252 *1.5);
}
.game_end,.game_ok{
  text-align: center;
  position: fixed;
  left:50%;
  top:50%;
  margin-left: -6.25rem;
  margin-top: -5.25rem;
  .btn-bar{
    display: block;
    position: absolute;
    bottom:10%;
    width:100%;
  }
  .btn_sure,.btn_agin{
    display: inline-block;
  }
}